package module.dao;

import common.annotation.DaoSql;
import common.annotation.QueryDao;
import common.bean.SearchPageResult;
import common.bean.SearchParameter;
import common.dao.BaseDao;
import module.model.AssessmentDataModel;
import module.model.AssessmentStandardValueModel;

import java.util.List;

@QueryDao
public interface AssessmentStandardValueDao extends BaseDao<Long,AssessmentStandardValueModel> {
    @DaoSql(sql="SELECT * FROM assessment_standard_value WHERE 1=1 { and DATA_ID=:dataId }",resultType = "List[AssessmentStandardValueModelMapping]")
    List<AssessmentStandardValueModel> getAssessmentStandardValueModelListBySearchParameter(SearchParameter searchParameter);

    @DaoSql(sql="SELECT * FROM assessment_standard_value WHERE 1=1 { and DATA_ID=:dataId }",resultType = "Page[AssessmentStandardValueModelMapping]")
    public SearchPageResult<AssessmentStandardValueModel> getAssessmentStandardValueModelListPage(SearchParameter searchParameter);
}
